package com.giraffe.device.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @Author ldx
 * @Date 2024/02/22 21:38
 **/
@Data
public class TuyaThermometer {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private Timestamp ts;
    private Double temperature;
    private Double humidity;
    private Double linkquality;
    private Integer endpoint;
    private Double batteryvoltage;
    private Double batterypercentage;

}
